home *** CD-ROM | disk | FTP | other *** search
/ 1,000+ Great Games / 1_1000 Games.iso / DOSGAMES / BOGGLE.ZIP / SOURCE.ZIP / SCORE.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-03  |  548 b   |  27 lines

  1. #ifndef  SCORE_H
  2. #define  SCORE_H
  3.  
  4. #include  "common.hpp"
  5.  
  6. class TBogScore;
  7.  
  8. class TBogScore : public IStaticText
  9. {
  10.    IFont myFont;
  11.    IString sScore;
  12.    int score_value;
  13.    
  14.    public:
  15.       TBogScore(unsigned long id,
  16.                 IWindow* parent,
  17.                 IWindow* owner);
  18.       ~TBogScore();
  19.       void setScore(int);            // pass method wordlength and figure
  20.                                      // out score
  21.       void calcScore(int);
  22.       void displayScore();
  23.       void clearScore();
  24. };
  25.  
  26. #endif
  27.